<template>
  <div class="big">
    <div class="container">
      <!-- 顶部轮播图-->
      <div class="swiper" style="border: 0px solid red">
        <div class="block">
          <el-carousel style="overflow: hidden !important" trigger="click" height="300px" class="carousel-width">
            <el-carousel-item v-for="item in imgListRotation.slice(0, 5)" :key="item.id" @click.native="PicToBanner(item)">
              <div class="lbwenzi">{{ item.title }}</div>
              <div class="background-color" :style="{
                  backgroundImage: 'url(' + item.bannerImageUrl + ')',
                  backgroundRepeat: 'no-repeat',
                  backgroundSize: 'cover',
                  backgroundPosition: 'center',
                }"></div>
            </el-carousel-item>
          </el-carousel>
        </div>
      </div>
      <div class="row1" style="">
        <div class="wp" style="border: 0px solid red; height: 100px">
          <ul class="icon-wrap" style="height: 100%">
            <li>
              <a @click.stop="gotoPage()">
                <span style="cursor: pointer">Data Dashboard<br /><strong>实验资源仪表盘</strong></span>
<!--                <i class="iconfont"></i>-->
              </a>
            </li>
            <li>
              <a @click.stop="gotoPage('/device/deviceform')">
                <span style="cursor: pointer">Equipment Reservation<br /><strong>设备预约</strong></span>
<!--                <i class="iconfont">&#xe627;</i>-->
              </a>
            </li>
            <li>
              <a @click.stop="gotoPage()">
                <span style="cursor: pointer">Key Laboratory<br /><strong>重点实验室</strong></span>
<!--                <i class="iconfont">&#xe605;</i>-->
              </a>
            </li>
            <li>
              <a @click.stop="gotoPage('/kexueyanjiu/zhuanjia')">
<!--                <a @click.stop="gotoPage('/zhuanjia')">-->
                <span style="cursor: pointer">Expert Team<br /><strong>专家团队</strong></span>
<!--                <i class="iconfont"></i>-->
              </a>
            </li>
          </ul>
        </div>
      </div>
      <!--实验室&新闻，公告 -->
      <div class="ylkt clearfix mb-20 module-bgc" style="">
        <div class="ylkt1 module-bgc">
          <div class="ylkt1Tit">
            <span>实验室新闻</span>
            <div class="LinkTo-qflt" @click="Goylkt(3)">更多</div>
          </div>
          <ul class="ylkt1List ylkt1List2 pt-10 pb-10" style="border: 0px solid red">
            <li v-for="item in newsnoticelist" :key="item.noticeId">
              <span @click="GoDetailfxfk(item.noticeId)" class="float-left Link-detail" :id="item.id">{{ item.noticeTitle }}</span>
              <span class="float-right list-time">{{ item.createTime }}</span>
            </li>
          </ul>
        </div>
        <div class="ylkt1 module-bgc">
          <div class="ylkt1Tit">
            <span>通知公告</span>
            <div class="LinkTo-qflt" @click="Goylkt(2)">更多</div>
          </div>

          <ul class="ylkt1List ylkt1List2 pt-10 pb-10" style="border: 0px solid red">
            <li v-for="item in noticelist" :key="item.noticeId">
              <span @click="GoDetailfxfk(item.noticeId)" class="float-left Link-detail" :id="item.id">{{ item.noticeTitle }}</span>
              <span class="float-right list-time">{{ item.createTime }}</span>
            </li>
          </ul>
        </div>
      </div>

      <div class="banner mb-20">
        <div class="block banner mb-20 picFocus">

          <div class="fd" style="border: 0px solid red; height: 25px">
            <div class="footer-bg"></div>
            <div class="wp">
              <span style="
                  line-height: 25px;
                  color: white;
                  font-size: 30px;
                  font-family: 'Microsoft YaHei';
                ">
                科研动态 | Scientific Research Trends
              </span>
            </div>
          </div>
        </div>
      </div>
      <div class="ylkt clearfix mb-20 module-bgc" style="border-bottom: 0px solid #d3d7d4">
        <div class="ylkt1 module-bgc" style="border: 0px solid red; width: 100%">
          <div class="ylkt1Img-pic-box" v-for="item in findinglist" style="width: 100%; height: 50%; border: 1px solid #f6f5ec">
            <div style="padding-left: 20px;font-size: 18px;color: #444444;font-family: 'Microsoft YaHei';">
              {{item.rfJournalName}}
            </div>
            <div style="
                width: 15%;
                height: 60%;
                border: 0px solid red;
                padding-top: 10px;
                padding-left: 20px;
                float: left;
              ">
              <img :src="item.rfImg" style="width: 100%; height: 100%" />
            </div>
            <div style="
                width: 80%;
                height: 93%;
                border: 0px solid red;
                padding-top: 0px;
                float: left;
                padding-left: 20px;
                line-height: 24px;
              ">
              <span v-html="item.rfContent" style="
                  font-weight: lighter;
                  margin-top: 5px;
                  float: left;
                  font-size: 14px;
                ">

              </span>
            </div>
          </div>

        </div>
      </div>

      <!--实验设备banner -->
      <div class="banner mb-20">
        <div class="block banner mb-20 picFocus">
          <!--          <img :src="require('../../assets/image/sysbbanner.png')" :style="{'object-fit': 'cover'}" />-->
          <div class="fd" style="border: 0px solid red; height: 25px">
            <div class="footer-bg"></div>
            <div class="wp">
              <span style="
                  line-height: 25px;
                  color: white;
                  font-size: 30px;
                  font-family: 'Microsoft YaHei';
                ">
                仪器设备 | Instruments And Equipment
              </span>
            </div>
          </div>
        </div>
      </div>
      <div class="ylkt clearfix mb-20 module-bgc">
        <div class="ylkt1" style="width: 23%" v-for="item in equipmentList" :key="item" @click.stop="goto(item.ldId)">
          <div class="ylkt1Img-pic-box" style="height: 180px; border-bottom: 5px solid #2a5caa">
            <img class="ylkt1Img" :src="item.labImageUrl" alt @click="GoDetail1" :id="0" style="width: 100%; height: 100%; padding-left: 0px" />
          </div>
          <div class="ylkt1List ylkt1List111" style="
              border: 1px solid #8a8c8e;
              width: 274px;
              height: 320px;
              margin-top: 0px;
            ">
            <span class="spanshebei">{{item.ldName}}</span>
            <hr />
            <div class="spanshebeiinfo">
              <span>设备名称：{{item.labName}}</span>
              <span> 生产厂家：{{ item.ldMadeComp }} </span>
              <span> 型 号：{{ item.ldSpecifications }}</span>
              <span>所属实验室：{{ item.labName }}</span>
            </div>
            <br />
            <el-button type="primary" size="mini" plain style="margin-top: 20px; margin-left: 20px">READ MORE ></el-button>
          </div>
        </div>
      </div>
    </div>

    <!--友情链接 -->
    <div class="yqlj-bottom">
      <div class="yqlj" style="border: 0px solid red">
        <div class="divcell" style="margin-left: 0px">
          <img :src="require('../../assets/image/链接1.png')" style="height: 70px; width: 80%; margin-top: 10px" />
        </div>
        <div class="divcell">
          <img :src="require('../../assets/image/链接2.png')" style="height: 80px; width: 80%" />
        </div>
        <div class="divcell">
          <img :src="require('../../assets/image/链接3.png')" style="height: 70px; width: 80%; margin-top: 10px" />
        </div>
        <div class="divcell">
          <img :src="require('../../assets/image/链接4.png')" style="height: 80px; width: 80%" />
        </div>
      </div>
    </div>
    <Rqcode v-if="!userToken"></Rqcode>
  </div>
</template>

<script>
import Login from "./Login/Login.vue";
import Swiper from "@/components/Swiper";
import Rqcode from "./Rqcode";
import { getKey } from "@/utils/tools.js";
import { findinglist, banners, noticelist, equipmentList } from "@/api/api.js";
import router from "../../router";
// import OpenScreen from "@/components/OpenScreen"
export default {
  components: {
    Swiper,
    Rqcode,
    // OpenScreen
  },
  data() {
    return {
      newsnoticelist: [], //新闻通知列表
      noticelist: [], //新闻通知列表
      findinglist: [], //科研动态列表
      userToken: "", //用户token
      equipmentList: [], //设备列表
      //控制开屏动画
      showCover: false,
      // isSecond: localStorage.getItem("isSecond"),
      isSecond: true,
      PICsPACE: localStorage.getItem("picSpace"),
      //情分论坛列表
      ClassroomListylkt: [],
      ClassroomListtszs: [],
      Classroomsjjy: [],
      //分线防控
      listfxfk: [],
      listfxfk1: [],
      //党纪法规
      listxts: [],
      //巡查巡视
      listxcxs: [],
      //审查调查
      listscdc: [],
      // 轮播投请求参数
      propmsRotation: {
        pageNum: "1",
        pageSize: "10",
      },
      imgListRotation: [],

      //清风论坛图片获取
      picFocus: require("../../assets/image/mbanner.png"),
      paramspicFocus: {
        picCode: "FORUM_PIC",
      },
      picFocus2: require("../../assets/image/wuxisuo.jpg"),
      paramspicFocus2: {
        picCode: "YL_CLASS",
      },
      picFocus3: require("../../assets/image/沙河科研楼图片.jpg"),
      paramspicFocus3: {
        picCode: "LEARN_OTHER",
      },
      picFocus4: require("../../assets/image/txb.jpg"),
      paramspicFocus4: {
        picCode: "ARM_YOUSELF",
      },
      //banner图第二张人廉
      bannerPeop2: [],
      paramsbannerPeop2: {
        picCode: "BANNER1",
      },
      //举报单张图片
      reportpic: require("../../assets/image/mmmbanner.png"),
      //三张图的轮播
      threeparams: {
        picCode: "BANNER2",
      },
      threePic: [],
      //友情链接
      FriendPic: [],
      //巡查巡视
      relation: 0,
      //集团
      listjt: [],
    };
  },
  computed: {
    baseUrl() {
      return this.$store.state.fileIp;
    },
  },
  created() {
    this.getequipmentList();
    this.getnoticelist(2);
    this.getnoticelist(3);
    this.getfindinglist();

    this.userToken = getKey("token");

    const { dispatch } = this.$store;
    dispatch("SET_FILEIP");
    this.getTopBanner();
    this.getSecondBanner();
    this.getThreeBanner();

    this.getFriendPic();
    //亦廉课堂数据
    this.get();
    //学习他人，他山之石
    this.getStudy();
    //警示教育
    this.getJOIN();
    // 风险防控
    this.getsixiang();
    //小贴士
    this.getxts();
    //巡查巡视
    this.getxcxs();
    // 审查调查列表
    this.getscdc();
    this.getjt();
    // this.showSecond()
  },

  methods: {
    gotoPage(e) {
      if (e) {
        router.push({
          path: e,
        });
      } else {
        this.$message("模块正在开发中，敬请期待!");
      }
    },
    /**
     * 跳转到设备详情
     */
    goto(id) {
      router.push({
        path: "/equipmentInfo",
        query: {
          id: id,
        },
      });
    },
    /**
     * 获取设备列表
     */
    getequipmentList() {
      let data = {
        pageNum: 1,
        pageSize: 4,
      };
      equipmentList(data).then((res) => {
        console.log(res);
        if (res.code == 200) {
          this.equipmentList = res.rows;
        }
      });
    },
    /**
     * 获取新闻通知列表
     */
    getnoticelist(type) {
      let data = {
        noticeType: type,
      };
      noticelist(data).then((res) => {
        console.log(res);
        if (res.code == 200) {
          if (type == 3) {
            this.newsnoticelist = res.data.rows;
          }
          if (type == 2) {
            this.noticelist = res.data.rows;
          }
        }
      });
    },
    /**
     * 获取科研动态列表
     */
    getfindinglist() {
      findinglist().then((res) => {
        console.log(res);
        if (res.code == 200) {
          this.findinglist = res.rows;
        }
      });
    },
    //控制开屏动画次数
    showSecond() {
      if (!this.isSecond) {
        this.showCover = true;
        localStorage.setItem("isSecond", "true");
      }
    },
    get() {
      // this.Api.getClassroom({
      //     pageNum: 1,
      //     pageSize: 10,
      // }).then((res) => {
      //     this.ClassroomListylkt = res.data.records;
      //     // console.log(this.ClassroomListylkt)
      // });
      this.ClassroomListylkt[0] = {
        id: 1,
        title: "页岩油气富集机理与有效开发国家重点实验室",
      };
    },
    getFriendPic() {
      this.FriendPic[0] = {
        url: "baidu.com",
        picUrl: require("../../assets/image/链接1.png"),
      };
      this.FriendPic[1] = {
        url: "www.baidu.com",
        picUrl: require("../../assets/image/链接2.png"),
      };
      this.FriendPic[2] = {
        url: "www.baidu.com",
        picUrl: require("../../assets/image/链接3.png"),
      };
      this.FriendPic[3] = {
        url: "www.baidu.com",
        picUrl: require("../../assets/image/链接4.png"),
      };
    },
    //学习他人
    getStudy() {
      // this.Api.getoutside({
      //     pageNum: 1,
      //     pageSize: 10,
      // }).then((res) => {
      //     this.ClassroomListtszs = res.data.records;
      //     // console.log(this.ClassroomList);
      // });
      this.ClassroomListtszs[0] = {
        id: 2,
        title: "中国石化石油勘探开发研究院实验中心",
      };
    },
    //弹性波实验室
    getJOIN() {
      // this.Api.geteducation({
      //     pageNum: 1,
      //     pageSize: 10,
      // }).then((res) => {
      //     this.Classroomsjjy = res.data.records;
      //     // console.log(this.Classroomsjjy);
      // });
      this.Classroomsjjy[0] = {
        id: 3,
        title: "弹性波理论与探测技术重点实验室",
      };
    },
    // 风险防控
    getsixiang() {
      // this.Api.getBisk({
      //     pageNum: 1,
      //     pageSize: 10,
      // }).then((res) => {
      //     if (res.code == 0) {
      //         this.listfxfk = res.data.records;
      //     }
      // });
      this.listfxfk[0] = {
        id: 1,
        title: "中国石化深部地质与资源重点实验室揭牌",
        publishTime: "2021-12-13",
      };
      this.listfxfk[1] = {
        id: 2,
        title: "集团公司副总经理、股份公司总裁喻宝才一行来石勘院调研指导",
        publishTime: "2021-12-09",
      };
      this.listfxfk[2] = {
        id: 3,
        title:
          "院党委中心组认真组织学习习近平总书记考察调研胜利油田重要讲话指示精神",
        publishTime: "2021-10-06",
      };
      this.listfxfk[3] = {
        id: 4,
        title:
          "研究院学习贯彻习近平总书记“七一”重要讲话精神暨中层干部培训班结业",
        publishTime: "2021-09-27",
      };

      this.listfxfk1[0] = {
        id: 1,
        title:
          "11项大奖！石科院斩获石化联合会专利金奖、科技进步一等奖等科技奖励",
        publishTime: "2021-01-06",
      };
      this.listfxfk1[1] = {
        id: 2,
        title:
          "每年节约出一个西湖！国家工信部、水利部鼓励推广石科院的这项水处理技术！",
        publishTime: "2021-12-09",
      };
      this.listfxfk1[2] = {
        id: 3,
        title: "知识产权强国建设纲要（2021－2035年）",
        publishTime: "2021-10-06",
      };
      this.listfxfk1[3] = {
        id: 4,
        title: "从无到有 国际首创",
        publishTime: "2021-09-27",
      };
    },
    //小贴士
    getxts() {
      this.listxts[0] = {
        id: 1,
        title: "党员干部看过来!新修订的党纪处分条例干货",
        publishTime: "2022-01-13",
      };
      this.listxts[1] = {
        id: 2,
        title: "【党纪党规】违法和违纪的区别是什么?_行为",
        publishTime: "2022-01-13",
      };
      this.listxts[2] = {
        id: 3,
        title: "党章关于处分违纪党员程序的规定",
        publishTime: "2022-01-10",
      };
      this.listxts[3] = {
        id: 4,
        title: "违反中央八项规定精神问题党纪处分实务",
        publishTime: "2022-01-10",
      };
    },
    // //首页轮播图
    getTopBanner() {
      banners().then((res) => {
        if (res.code == 200) {
          this.imgListRotation = res.rows;
        }
      });
    },
    getSecondBanner() {

    },
    getThreeBanner() {

    },
    //巡查巡视beijing动态
    // 集团列表
    getjt() {
      // this.Api.getGroup().then((res) => {
      //     if (res.code == 0) {
      //         this.listjt = res.data;
      //         // console.log("" + this.list[0].id);
      //         (this.relation = this.listjt[0].id),
      //         // console.log(this.relation,1212)
      //         this.getxcxs();
      //     }
      // });
    },
    getxcxs() {
      this.listxcxs[0] = {
        id: 1,
        title: "中央巡视办组织开展巡视工作专项检查--反腐倡廉-人民网",
        publishTime: "2022-01-13",
      };
      this.listxcxs[1] = {
        id: 2,
        title: "中央巡视办组织开展巡视工作专项检查...-中共中央纪律检查",
        publishTime: "2022-01-13",
      };
      this.listxcxs[2] = {
        id: 3,
        title: "海西州坚决做好各类被巡视督察检查反馈问题“后半篇文章”\n",
        publishTime: "2022-01-13",
      };
      this.listxcxs[3] = {
        id: 4,
        title: "省纪委监委第五监督检查室:抓实抓细巡视整改专项监督检查...",
        publishTime: "2022-01-13",
      };
    },
    // 审查调查列表
    getscdc() {
      this.listscdc[0] = {
        id: 1,
        title: "山东一市2人接受审查调查",
        publishTime: "2022-01-13",
      };
      this.listscdc[1] = {
        id: 2,
        title: "重拳反腐 警钟长鸣——新时代纪检监察工作高质量发展之“反腐篇”",
        publishTime: "2022-01-12",
      };
      this.listscdc[2] = {
        id: 3,
        title: "甘肃纪检监察网 | 信息公开 | 审查调查",
        publishTime: "2022-01-12",
      };
      this.listscdc[3] = {
        id: 4,
        title: "审查调查-沈阳纪检监察网",
        publishTime: "2022-01-10",
      };
    },
    Goylkt(e) {
      // this.$router.push("/forum/forumClassroom");
      router.push({
        path:'/NewsList',
        query:{
          type:e
        }
      })
    },
    Gotszs() {
      this.$router.push("/forum/forumOutside");
    },
    Gosjjy() {
      this.$router.push("/forum/forumWarning");
    },
    GoRisk() {
      this.$router.push("/Risk/SiXiang");
    },
    GoPartyDiscipline() {
      this.$router.push("/PartyDiscipline/FenLei");
    },
    GoMakeInspectionTou() {
      this.$router.push("/MakeInspectionTour/JiTuan");
    },
    GoInvestigate() {
      this.$router.push("/Investigate/DangJi");
    },
    //成藏实验室首页
    GoDetail1(e) {
      var itemID = e.currentTarget.id;
      // console.log(this.obj[itemID])
      this.$router.push(this.obj1[itemID].RouteingPath);
    },
    GoDetail2(e) {
      var itemID = e.currentTarget.id;
      // console.log(this.obj[itemID])
      this.$router.push(this.obj2[itemID].RouteingPath);
    },
    GoDetail3(e) {
      var itemID = e.currentTarget.id;
      // console.log(this.obj[itemID])
      this.$router.push(this.obj3[itemID].RouteingPath);
    },
    //首页风险防控，党纪法规，巡视巡察，审查调查的列表跳转
    GoDetail21(e) {
      var itemID = e.currentTarget.id;
      // console.log(this.obj[itemID])
      this.$router.push(this.obj21[itemID].RouteingPath);
    },
    GoDetail22(e) {
      var itemID = e.currentTarget.id;
      this.$router.push(this.obj22[itemID].RouteingPath);
    },
    GoDetail23(e) {
      var itemID = e.currentTarget.id;
      this.$router.push(this.obj23[itemID].RouteingPath);
    },
    GoDetail24(e) {
      var itemID = e.currentTarget.id;
      this.$router.push(this.obj24[itemID].RouteingPath);
    },
    GoDetail() {
      //备用
      this.$router.push("/Detail");
    },
    //轮播图跳转
    PicToBanner(item) {
      // console.log(item, 22222);
      this.$router.push({
        name: "DetailBanner",
        query: {
          id: item.id,
        },
      });
    },
    //他山之石点击事件
    GoDetailtszs(item) {
      // let ID = {
      //     id: item.id,
      // };
      this.$router.push({
        name: "DetailStudy",
        params: {
          id: item.id,
        },
      });
    },
    //示警教育点击事件
    GoDetailsjjy(item) {
      // let ID = {
      //     id: item.id,
      // };
      this.$router.push({
        name: "DetailEducation",
        params: {
          id: item.id,
        },
      });
    },
    //一联课堂点击事件
    GoDetailylkt(item) {
      // let ID = {
      //     id: item.id,
      // };
      this.$router.push({
        name: "DetailText",
        params: {
          id: item.id,
        },
      });
    },
    //风险防控事件
    GoDetailfxfk(noticeId) {

      this.$router.push({
        name: "detail",
        query: {
          noticeId: noticeId,
        },
      });
    },
    //党纪法规小贴士
    GoDetaildjfg(item) {
      // let ID = {
      //     id: item.id,
      // };
      // console.log(ID, 22222);
      this.$router.push({
        name: "XtsDetail",
        query: {
          id: item.id,
        },
      });
    },
    //生茶调查
    GoDetailscdc(item) {
      // console.log(item);
      this.$router.push({
        name: "Detail1",
        query: {
          id: item.id,
        },
      });
    },
    //集团动态
    GoDetailjtdt(item) {
      // console.log(item);
      this.$router.push({
        name: "Jt1",
        query: {
          id: item.id,
        },
      });
    },
  },
};
</script>

<style lang="less" scoped>
.container {
  width: 1200px;
  margin: 0 auto;
  background: rgba(242, 242, 242, 1);
  margin-top: 10px;
}

.big {
  background: rgba(242, 242, 242, 1);
}

.module-bgc {
  background-color: white;
}

.active1 {
  display: flex;
  padding: 20px;
}

img {
  width: 794px;
  height: 321px;
}

.banner {
  width: 1200px;
  margin: 0 auto;
}

.banner img {
  width: 100%;
  height: 100px;
  border-radius: 2px;
}

.mb-20 {
  margin-bottom: 20px;
}

/*轮播图*/
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}

.carousel-width {
  width: 100%;
}

.carousel-width img {
  cursor: pointer;
}

/deep/.el-carousel__indicator--horizontal {
  background-color: red;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0);
}

/deep/.el-carousel__button {
  width: 12px;
  height: 12px;
  background: #009ad6;
  border-radius: 10%;
}

/deep/.el-carousel__indicators {
  margin-right: 20px;
}

.lbwenzi {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 48px;
  font-size: 18px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  line-height: 48px;
  background-color: rgba(0, 0, 0, 0.7);
  padding-left: 12px;
}

/deep/.is-active {
  border-bottom: 0px;
}

/*亦廉课堂*/
.ylkt {
  /*padding: 20px 0;*/
  display: flex;
  justify-content: space-between;
  background: rgba(242, 242, 242, 1);
}

.ylkt1 {
  width: 50%;
  padding-bottom: 14px;
}

.ylkt1Tit {
  color: #2a5caa;
  font-size: 18px;
  margin-bottom: 10px;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 47px;
  border-bottom: 1px solid #2a5caa;
}

.ylkt1Tit span {
  border-bottom: 2px solid #2a5caa;
  line-height: 47px;
}

.ylkt1Tit a {
  /*float: right;*/
  color: #989898;
  text-decoration: none;
  font-size: 14px;
}

.ylkt1Img {
  width: 348px;
  height: 180px;
  margin-top: 10px;
  padding-left: 20px;
  margin-bottom: 8px;
  cursor: pointer;
}

.ylkt1List {
  margin-top: 9px;
  width: 96%;
}

.ylkt1List li .Link-detail {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  line-height: 28px;
  cursor: pointer;
  display: block;
  width: 75%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ylkt1List li {
  padding-bottom: 6px;
  padding-left: 20px;
}

.ylkt1List li span:first-child:hover {
  color: red;
}

.LinkTo-qflt {
  font-size: 14px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: rgba(153, 153, 153, 1);
  cursor: pointer;
}

.LinkTo-qflt:hover {
  color: red;
}

/*风险防控*/
.fxfk {
  overflow: hidden;
  margin-bottom: 20px;
}

.fxfk1 {
  width: 595px;
  margin-bottom: 10px;
  box-sizing: border-box;
  float: left;
  padding-right: 20px;
  padding-top: 17px;
}

.fxfk1:nth-child(2n + 1) {
  margin-right: 10px;
}

.fxfk1Tit {
  //background: url(../../assets/image/titlebg.png) left center no-repeat;
  //background-size: 130px 41px;
  //background-position: 0px 0px;
  height: 41px;
  line-height: 41px;
  color: #2a5caa;
  font-size: 18px;
  margin-left: 10px;
  border-bottom: 1px solid #2a5caa;
}

.fxfk1Tit span {
  border-bottom: 2px solid #2a5caa;
  line-height: 47px;
}

.fxfk1Tit span:last-child {
  float: right;
  color: #999;
  font-size: 14px;
  line-height: 41px;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.fxfk1Tit span:last-child:hover {
  color: red;
}

.ylkt1List2 {
  // height: 150px;
}

.ylkt1List2 li {
  overflow: hidden;
}

.ylkt1List2 li a {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.pl-20 {
  padding-left: 20px;
}

.pr-20 {
  padding-right: 20px;
}

.pt-10 {
  padding-top: 10px;
}

.pb-10 {
  padding-bottom: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-right.list-time {
  font-size: 14px;
  line-height: 20px;
  color: rgba(153, 153, 153, 1);
}

.fxfktitle {
  padding-left: 0px;
}

/*三张图片、广告*/
.three-pic {
  display: flex;
  justify-content: center;
  background-color: white;
  padding: 20px;
}

.three-pic a {
  display: block;
}

.three-pic > a > img {
  width: 372px;
  height: 90px;
  margin-right: 22px !important;
}

.three-pic .Last-pic {
  margin-right: 0px !important;
}

/*友情链接*/
.yqlj-bottom {
  width: 100%;
  background-color: white;
  height: 180px;
}

.yqlj {
  width: 1200px;
  margin: 0 auto;
  position: relative;
  top: 27%;
  -webkit-transform: translateY(-25%);
  -ms-transform: translateY(-25%);
  transform: translateY(-25%);
}

.yqlj ul li a img {
  width: 200px;
  height: 100px;
}

.yqlj-title {
  font-size: 18px;
  color: rgba(51, 51, 51, 1);
  line-height: 90px;
  font-weight: 600;
}

.yqlj ul {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.picFocus {
  width: 100%;
  height: 120px;
}
.picFocus img {
  height: 120px;
}

.ylkt1Img-pic-box {
  width: 100%;
  height: 320px;
  overflow: hidden;
}
.ylkt1Img-pic-box img {
  width: 93%;
  height: 300px;
}

.background-color {
  width: 100%;
  height: 300px;
  cursor: pointer;
}
.spanshebei {
  border: 0px solid red;
  // line-height: 60px;
  height: 50px;
  display: block;
  padding-left: 20px;
  padding-top: 20px;
  color: #444444;
  font-weight: bolder;
  font-size: 16px;
  font-family: "Microsoft YaHei";
}

.spanshebeiinfo {
  border: 0px solid red;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 30px;
  font-size: 14px;
  line-height: 25px;
  color: #999999;
  font-family: "Microsoft YaHei";
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.spanshebeiinfo span {
  display: block;
}
.ylkt1List111:hover {
  background-color: #2a5caa;
  cursor: pointer;
  color: #ffffff;
  span {
    color: #ffffff;
  }
  .spanshebeiinfo {
    color: #ffffff;
  }
}
.divcell {
  width: 23%;
  float: left;
  height: 100%;
  border: 1px solid #d3d7d4;
  margin-left: 28px;
  text-align: center;
  cursor: pointer;
}
.footer-bg {
  background: url(../../assets/image/subbanner-bg.png);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 0;
}
.fd {
  padding: 20px 0;
  margin-top: 10px;
  height: 130px;
  line-height: 20px;
  position: relative;
  padding: 46px 0;
  background: url(../../assets/image/footer-bg.jpg);
  background-size: cover;
  border-top: 0px solid #ddd;
  overflow: hidden;
}
.fd .wp {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
}
.fd .foot-links {
  color: #ffffff;
  padding: 20px 0;
  word-spacing: 1em;
}
.fd a {
  color: #fff;
}
.fd a:hover {
  text-decoration: underline;
}
.wp p {
  color: #fff;
}
.wp {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.row1 {
  overflow: hidden;
  padding: 20px 0;
}
.icon-wrap {
  overflow: hidden;
  margin: auto -1%;
}
.icon-wrap li {
  width: 23%;
  margin: 0 1%;
  float: left;
  position: relative;
  font-size: 13px;
}
.icon-wrap li a {
  display: block;
  height: 78px;
  padding: 15px 0 0 15px;
  background: #fff;
  color: #2670d5;
  border: 3px solid #2670d5;
  transition: all 0.9s;
}
.icon-wrap li a:hover {
  background: #203d99;
  color: #fff;
  border-color: #203d99;
}
.icon-wrap li i {
  position: absolute;
  right: 15px;
  bottom: -20px;
  font-size: 70px;
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 70px;
}
.icon-wrap li span {
  display: block;
}
.icon-wrap li strong {
  font-size: 18px;
}
.icon-wrap li:nth-child(1) a {
  color: #498c94;
  border-color: #498c94;
}
.icon-wrap li:nth-child(2) a {
  color: #5c5566;
  border-color: #5c5566;
}
.icon-wrap li:nth-child(3) a {
  color: #866350;
  border-color: #866350;
}
.icon-wrap li:nth-child(4) a {
  color: #5a698f;
  border-color: #5a698f;
}
.icon-wrap li:nth-child(5) a {
  color: #518978;
  border-color: #518978;
}
.icon-wrap li:nth-child(1) a:hover {
  background: #498c94;
  color: #fff;
}
.icon-wrap li:nth-child(2) a:hover {
  background: #5c5566;
  color: #fff;
}
.icon-wrap li:nth-child(3) a:hover {
  background: #866350;
  color: #fff;
}
.icon-wrap li:nth-child(4) a:hover {
  background: #5a698f;
  color: #fff;
}
.icon-wrap li:nth-child(5) a:hover {
  background: #518978;
  color: #fff;
}
//@font-face {font-family: "iconfont";
//  src: url('/assets/iconfont.eot'); /* IE9*/
//  src: url('/assets/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
//  url('/assets/iconfont.woff') format('woff'), /* chrome、firefox */
//  url('/assets/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
//  url('/assets/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
//}
//.iconfont {
//  display:inline-block;
//  font-family:"iconfont" !important;
//  font-size:16px;
//  font-style:normal;
//  -webkit-font-smoothing: antialiased;
//  -moz-osx-font-smoothing: grayscale;
//}
</style>
